package com.ruicar.afs.cloud.basic.api.dto;

import javax.validation.constraints.NotBlank;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author yaorui.zhang
 * @version 1.0
 * @date 2020年7月30日 18:50:28
 */
@Data
public class ProductPlanDataVo  {

    @ApiModelProperty(value = "产品方案id")
    @JsonSerialize(using = ToStringSerializer.class)
    @NotBlank(message = "产品方案id不能为空")
    private Long productPlanId;

    @ApiModelProperty(value = "产品原子id")
    @JsonSerialize(using = ToStringSerializer.class)
    @NotBlank(message = "产品原子id不能为空")
    private Long productAtomId;

    @ApiModelProperty(value = "产品原子key")
    @NotBlank(message = "产品原子key不能为空")
    private String productAtomKey;

    @ApiModelProperty(value = "原子内容")
    private String atomValue;
}
